﻿@model DiamonWebOnline.Models.UserRegMst
@{
    ViewBag.Title = "Login";
    //Layout = null;
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) 
{
    @Html.ValidationSummary(true)

    <table width="460" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td>
                <form id="form1" name="form1" method="post" action="">
                    <table width="93%" border="0" align="center" cellpadding="2" cellspacing="4">
                        <tr>
                            <td height="35" colspan="3" valign="top" 
                                class="heading" style="padding-top:8px; color:#448B9A; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold;">
                                <strong>Login</strong></td>
                        </tr>
                        <tr>
                            <td width="36%" class="body">Your email:</td>
                            <td width="64%" colspan="2">
                                @Html.EditorFor(model => model.email)
                            </td>
                        </tr>
                        <tr>
                            <td width="36%" class="body">Your password:</td>
                            <td width="64%" colspan="2">
                                @Html.EditorFor(model => model.password)
                            </td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td colspan="2">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td width="28%">
                                            <input type="image" name="imageField2" src="../../Content/Template/html/images/submit.gif" />
                                        </td>
                                        <td width="72%">
                                            @Html.ActionLink("Register", "Register") if you don't have an account
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </form>
            </td>
        </tr>
    </table>
}